package org.ibase4j.model;

/**
 * 场景类型枚举
 * @author manu team
 *
 */
public enum SceneType {
	user(1, "用户", "U-", "sysUserService"), 
	order(2, "订单", "O-", "pmProductionOrderService"), 
	equipment(3, "设备", "E-", "emEquipmentService"),
	workcenter(4, "工作中心", "W-", "bdWorkCenterService");
	
	private int code;
	private String name;
	private String prefix;
	private String service;
	
	SceneType(int code, String name, String prefix, String service) {
		this.code = code;
		this.name= name;
		this.prefix = prefix;
		this.service = service;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}
	
}
